#nullable enable

using System;
using Volo.Abp.Application.Dtos;

namespace PHMEE.DTOS.Diagnosis;

public sealed class AlarmRecordBriefDto : EntityDto<Guid>
{
    /// <summary>
    /// 机组名称（当测点关联到设备时为设备名称）
    /// </summary>
    public string? UnitName { get; set; }

    /// <summary>
    /// 机组 Id
    /// </summary>
    public Guid UnitId { get; set; }

    /// <summary>
    /// 设备 Id
    /// </summary>
    public Guid? EquipId { get; set; }

    /// <summary>
    /// 区域
    /// </summary>
    public string? Area { get; set; }

    /// <summary>
    /// 报警测点名称
    /// </summary>
    public string? AlarmPointName { get; set; }

    /// <summary>
    /// 测点 Id
    /// </summary>
    public Guid PointId { get; set; }

    /// <summary>
    /// 报警特征值名称
    /// </summary>
    public string AlarmFeatureValue { get; set; } = null!;

    /// <summary>
    /// 报警等级
    /// </summary>
    public string AlarmLevel { get; set; } = null!;

    /// <summary>
    /// 报警时间（UTC)
    /// </summary>
    public DateTime AlarmTimeUtc { get; set; }

    /// <summary>
    /// 是否已确认
    /// </summary>
    public string IsAcked { get; set; } = null!;
}